package com.primary.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Bloodbanks {
    private Integer id;
    private String origin;
    private String donors;
    private String donosum;
    private String bloodInfo;
    private String bloodType;
    private String status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date instoreTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date outstoreTime;
    private String instoredate;
    private String optioner;
    private BigDecimal counts;
}
